package cz.data.domain.metadata.model.query;

import cz.data.common.base.BaseQueryParams;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 数据库表信息表 查询实体
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MetadataTableQuery extends BaseQueryParams {

    private static final long serialVersionUID=1L;

    private String sourceId;

    private String tableName;

    public static MetadataTableQuery formSourceId(String sourceId) {
        MetadataTableQuery query = new MetadataTableQuery();
        query.setSourceId(sourceId);
        return query;
    }
}
